package com.dz.lm.service.comp.remark;

import com.dz.lm.common.exception.ServiceException;
import com.dz.lm.domain.compremark.CompRemark;

public interface CompRemarkService {

    int add(CompRemark remark) throws ServiceException;

    int update(CompRemark remark) throws ServiceException;

    int delete(int remarkId) throws ServiceException;

    /**
     * 获取
     * @param objId 对象id
     * @param type 1 用户管理（申请） 2 代理
     * @return
     * @throws ServiceException
     */
    CompRemark get(int objId ,int type) throws ServiceException;
}
